package com.async.handler.context;

import com.async.annotation.AsyncExec;
import com.async.dto.AsyncExecDto;
import com.async.strategy.context.StrategyContext;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.aspectj.lang.ProceedingJoinPoint;

/**
 * <p>
 * 异步策略上下文
 * </p>
 * @author yang
 * @date 2024/5/16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AsyncStrategyContext extends StrategyContext {

    private static final long serialVersionUID = 1L;

    /**
     * 切面方法
     */
    private ProceedingJoinPoint joinPoint;

    /**
     * 异步执行策略
     */
    private AsyncExec asyncExec;

    /**
     * 异步执行数据
     */
    private AsyncExecDto asyncExecDto;
}
